package com.crm.dao.impl;



import java.util.List;

import org.hibernate.criterion.DetachedCriteria;
import org.hibernate.criterion.Projection;
import org.hibernate.criterion.Projections;
import org.springframework.orm.hibernate5.support.HibernateDaoSupport;

import com.crm.dao.CustomerDao;
import com.crm.domain.Customer;
import com.crm.domain.User;
import com.mysql.cj.result.Row;

/**
 * @author Yusei
 * dao需要继承HibernateDaoSupport
 */
public class CustomerDaoImpl extends BaseDaoImpl<Customer> implements CustomerDao {
	// 调用父类的构造方法,将具体的类型传进去
	/*
	 * 经过改造之后，连构造方法都不需要了
	 * 
	 * 
	 * public CustomerDaoImpl() {
		super(Customer.class);
	}*/
}
